package payroll25.trans;

import payroll25.PaymentClassification;
import payroll25.classification.HourlyClassification;

public class AddHourlyEmployeeTransaction extends AddEmployeeTransaction {

    
    private double hourlyRate;
    public AddHourlyEmployeeTransaction(int empId, String name, String address, double hourlyRate) {
        super(empId, name, address);
        this.hourlyRate = hourlyRate;
        
    }
    
    protected PaymentClassification getPaymentClassification() {
        return new HourlyClassification(hourlyRate);
    }

}
